package com.entity;

import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Date;

/**
 * 党组织表
 */
@Entity
public class Td_tblPartyOrgBranch extends JpaRepositoriesAutoConfiguration implements Serializable {

    private static final long serialVersionUID = -7400037646893652413L;

    public Td_tblPartyOrgBranch() {

    }

    /**
     * 组织id
     */
    @Id
    @Column(name = "fd_BranchID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int fd_BranchID;

    /**
     * 组织名称
     */
    @Column(name = "fd_BranchName")
    private String fd_BranchName;

    /**
     * 父组织名称
     */
    @Column(name = "fd_parentName")
    private String fd_parentName;

    /**
     * 组织属性
     */
    @Column(name = "fd_branchporperty")
    private String fd_branchporperty;

    /**
     * 党组织属地关系
     */
    @Column(name = "fd_Branchrelation")
    private String fd_Branchrelation;

    /**
     * 单位名称
     */
    @Column(name = "fd_unitName")
    private String fd_unitName;

    /**
     * 单位隶属关系
     */
    @Column(name = "fd_unitrelation")
    private String fd_unitrelation;

    /**
     * 党组织所在单位情况
     */
    @Column(name = "fd_partylation")
    private String fd_partylation;

    /**
     * 单位层次(1=4层)
     */
    @Column(name = "fd_leveltype")
    private String fd_leveltype;

    /**
     * 申请类型(0=正常，1=新建，2=撤销)
     */
    @Column(name = "fd_applytype")
    private Integer fd_applytype;

    /**
     * 提出申请日期
     */
    @Column(name = "fd_applydate")
    private Date fd_applydate;

    /**
     * 上级审批日期
     */
    @Column(name = "fd_approvedate")
    private Date fd_approvedate;

    /**
     * 上级审批人
     */
    @Column(name = "fd_approveperson")
    private String fd_approveperson;

    /**
     * 申请人姓名
     */
    @Column(name = "fd_chairMan")
    private String fd_chairMan;

    /**
     * 父级组织id
     */
    @Column(name = "fd_ParentBranchID")
    private int fd_ParentBranchID;

    /**
     * 单位属性
     */
    @Column(name = "fd_BranchType")
    private String fd_BranchType;

    /**
     * 组织编码
     */
    @Column(name = "fd_OrderNo")
    private String fd_OrderNo;

    /**
     * 组织描述
     */
    @Column(name = "fd_Description")
    private String fd_Description;

    /**
     * 地址
     */
    @Column(name = "fd_Address")
    private String fd_Address;

    /**
     * 组织图片
     */
    @Column(name = "fd_ImageUrl")
    private String fd_ImageUrl;

    /**
     * 组织人id
     */
    @Column(name = "fd_LinkId")
    private int fd_LinkId;

    /**
     * 组织联系电话
     */
    @Column(name = "fd_LinkPhone")
    private String fd_LinkPhone;

    /**
     * 成立原因
     */
    @Column(name = "fd_BranchMark")
    private String fd_BranchMark;

    /**
     * 社会类型
     */
    @Column(name = "fd_SocialParty")
    private String fd_SocialParty;

    /**
     * 党员数量
     */
    @Column(name = "fd_PartyCount")
    private String fd_PartyCount;

    /**
     * 积分
     */
    @Column(name = "fd_branchscores")
    private String fd_branchscores;

    /**
     * 组织状态(0=正常，1=待审核，2=驳回)
     */
    @Column(name = "Fd_applystatus")
    private int fd_applystatus;

    /**
     * 经度
     */
    @Column(name = "fd_longitude")
    private String fd_longitude;

    /**
     * 纬度
     */
    @Column(name = "fd_latitude")
    private String fd_latitude;

    public int getFd_BranchID() {
        return fd_BranchID;
    }

    public void setFd_BranchID(int fd_BranchID) {
        this.fd_BranchID = fd_BranchID;
    }

    public String getFd_BranchName() {
        return fd_BranchName;
    }

    public void setFd_BranchName(String fd_BranchName) {
        this.fd_BranchName = fd_BranchName;
    }

    public String getFd_parentName() {
        return fd_parentName;
    }

    public void setFd_parentName(String fd_parentName) {
        this.fd_parentName = fd_parentName;
    }

    public String getFd_branchporperty() {
        return fd_branchporperty;
    }

    public void setFd_branchporperty(String fd_branchporperty) {
        this.fd_branchporperty = fd_branchporperty;
    }

    public String getFd_Branchrelation() {
        return fd_Branchrelation;
    }

    public void setFd_Branchrelation(String fd_Branchrelation) {
        this.fd_Branchrelation = fd_Branchrelation;
    }

    public String getFd_unitName() {
        return fd_unitName;
    }

    public void setFd_unitName(String fd_unitName) {
        this.fd_unitName = fd_unitName;
    }

    public String getFd_unitrelation() {
        return fd_unitrelation;
    }

    public void setFd_unitrelation(String fd_unitrelation) {
        this.fd_unitrelation = fd_unitrelation;
    }

    public String getFd_partylation() {
        return fd_partylation;
    }

    public void setFd_partylation(String fd_partylation) {
        this.fd_partylation = fd_partylation;
    }

    public String getFd_leveltype() {
        return fd_leveltype;
    }

    public void setFd_leveltype(String fd_leveltype) {
        this.fd_leveltype = fd_leveltype;
    }



    public Date getFd_applydate() {
        return fd_applydate;
    }

    public void setFd_applydate(Date fd_applydate) {
        this.fd_applydate = fd_applydate;
    }

    public Date getFd_approvedate() {
        return fd_approvedate;
    }

    public void setFd_approvedate(Date fd_approvedate) {
        this.fd_approvedate = fd_approvedate;
    }

    public String getFd_approveperson() {
        return fd_approveperson;
    }

    public void setFd_approveperson(String fd_approveperson) {
        this.fd_approveperson = fd_approveperson;
    }

    public String getFd_chairMan() {
        return fd_chairMan;
    }

    public void setFd_chairMan(String fd_chairMan) {
        this.fd_chairMan = fd_chairMan;
    }

    public int getFd_ParentBranchID() {
        return fd_ParentBranchID;
    }

    public void setFd_ParentBranchID(int fd_ParentBranchID) {
        this.fd_ParentBranchID = fd_ParentBranchID;
    }

    public String getFd_BranchType() {
        return fd_BranchType;
    }

    public void setFd_BranchType(String fd_BranchType) {
        this.fd_BranchType = fd_BranchType;
    }

    public String getFd_OrderNo() {
        return fd_OrderNo;
    }

    public void setFd_OrderNo(String fd_OrderNo) {
        this.fd_OrderNo = fd_OrderNo;
    }

    public String getFd_Description() {
        return fd_Description;
    }

    public void setFd_Description(String fd_Description) {
        this.fd_Description = fd_Description;
    }

    public String getFd_Address() {
        return fd_Address;
    }

    public void setFd_Address(String fd_Address) {
        this.fd_Address = fd_Address;
    }

    public String getFd_ImageUrl() {
        return fd_ImageUrl;
    }

    public void setFd_ImageUrl(String fd_ImageUrl) {
        this.fd_ImageUrl = fd_ImageUrl;
    }

    public String getFd_LinkPhone() {
        return fd_LinkPhone;
    }

    public void setFd_LinkPhone(String fd_LinkPhone) {
        this.fd_LinkPhone = fd_LinkPhone;
    }

    public String getFd_BranchMark() {
        return fd_BranchMark;
    }

    public void setFd_BranchMark(String fd_BranchMark) {
        this.fd_BranchMark = fd_BranchMark;
    }

    public String getFd_SocialParty() {
        return fd_SocialParty;
    }

    public void setFd_SocialParty(String fd_SocialParty) {
        this.fd_SocialParty = fd_SocialParty;
    }

    public String getFd_PartyCount() {
        return fd_PartyCount;
    }

    public void setFd_PartyCount(String fd_PartyCount) {
        this.fd_PartyCount = fd_PartyCount;
    }

    public String getFd_branchscores() {
        return fd_branchscores;
    }

    public void setFd_branchscores(String fd_branchscores) {
        this.fd_branchscores = fd_branchscores;
    }

    public String getFd_longitude() {
        return fd_longitude;
    }

    public void setFd_longitude(String fd_longitude) {
        this.fd_longitude = fd_longitude;
    }

    public String getFd_latitude() {
        return fd_latitude;
    }

    public void setFd_latitude(String fd_latitude) {
        this.fd_latitude = fd_latitude;
    }

    public int getFd_applystatus() {
        return fd_applystatus;
    }

    public void setFd_applystatus(int fd_applystatus) {
        this.fd_applystatus = fd_applystatus;
    }

    public int getFd_LinkId() {
        return fd_LinkId;
    }

    public void setFd_LinkId(int fd_LinkId) {
        this.fd_LinkId = fd_LinkId;
    }

    public Integer getFd_applytype() {
        return fd_applytype;
    }

    public void setFd_applytype(Integer fd_applytype) {
        this.fd_applytype = fd_applytype;
    }
}